//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['MarchFourth','The Cedar Cultural Center','Minneapolis, MN','Tuesday','4/30/2024','7:30 PM','6299569','MarchFourth-4-30-2024'],['Northern Resonance','The Cedar Cultural Center','Minneapolis, MN','Wednesday','5/1/2024','7:30 PM','6256255','Northern-Resonance-5-1-2024'],['Robyn Hitchcock','The Cedar Cultural Center','Minneapolis, MN','Thursday','5/2/2024','7:30 PM','6256240','Robyn-Hitchcock-5-2-2024'],['Kith and Kin Chorus','The Cedar Cultural Center','Minneapolis, MN','Saturday','5/4/2024','4:00 PM','6245034','Kith-and-Kin-Chorus-5-4-2024'],['Kith and Kin Chorus','The Cedar Cultural Center','Minneapolis, MN','Saturday','5/4/2024','8:00 PM','6245035','Kith-and-Kin-Chorus-5-4-2024'],['Bill Orcutt','The Cedar Cultural Center','Minneapolis, MN','Monday','5/6/2024','7:30 PM','6299570','Bill-Orcutt-5-6-2024'],['MIZU','The Cedar Cultural Center','Minneapolis, MN','Wednesday','5/8/2024','7:30 PM','6338514','MIZU-5-8-2024'],['Wild Child - Band','The Cedar Cultural Center','Minneapolis, MN','Friday','5/10/2024','8:00 PM','6296200','Wild-Child---Band-5-10-2024'],['Kiran Ahluwalia','The Cedar Cultural Center','Minneapolis, MN','Saturday','5/11/2024','8:00 PM','6256239','Kiran-Ahluwalia-5-11-2024'],['Larry and Joe','The Cedar Cultural Center','Minneapolis, MN','Sunday','5/12/2024','7:30 PM','6299571','Larry-and-Joe-5-12-2024'],['Prateek Kuhad','The Cedar Cultural Center','Minneapolis, MN','Friday','5/17/2024','8:00 PM','6232161','Prateek-Kuhad-5-17-2024'],['Buck Meek','The Cedar Cultural Center','Minneapolis, MN','Saturday','5/25/2024','8:00 PM','6150411','Buck-Meek-5-25-2024'],['Porangui','The Cedar Cultural Center','Minneapolis, MN','Sunday','5/26/2024','7:00 PM','6350853','Porangui-5-26-2024'],['John Moreland','The Cedar Cultural Center','Minneapolis, MN','Sunday','6/2/2024','7:30 PM','6281099','John-Moreland-6-2-2024'],['Estuary','The Cedar Cultural Center','Minneapolis, MN','Sunday','6/9/2024','7:30 PM','6350879','Estuary-6-9-2024'],['The Waco Brothers','The Cedar Cultural Center','Minneapolis, MN','Saturday','7/6/2024','8:00 PM','6299574','The-Waco-Brothers-7-6-2024'],['Chris Smither','The Cedar Cultural Center','Minneapolis, MN','Thursday','8/1/2024','7:30 PM','6350840','Chris-Smither-8-1-2024'],['Tinariwen','The Cedar Cultural Center','Minneapolis, MN','Saturday','8/3/2024','8:00 PM','6254977','Tinariwen-8-3-2024'],['Bob Schneider','The Cedar Cultural Center','Minneapolis, MN','Saturday','8/24/2024','8:00 PM','6309158','Bob-Schneider-8-24-2024'],['Tannahill Weavers','The Cedar Cultural Center','Minneapolis, MN','Thursday','9/5/2024','7:30 PM','6350845','Tannahill-Weavers-9-5-2024'],['Vasen','The Cedar Cultural Center','Minneapolis, MN','Wednesday','9/18/2024','7:30 PM','6350847','Vasen-9-18-2024'],['Tom Paxton','The Cedar Cultural Center','Minneapolis, MN','Thursday','9/26/2024','7:30 PM','6350846','Tom-Paxton-9-26-2024'],['Gao Hong','The Cedar Cultural Center','Minneapolis, MN','Wednesday','10/2/2024','7:30 PM','6299572','Gao-Hong-10-2-2024'],['Nella','The Cedar Cultural Center','Minneapolis, MN','Saturday','10/11/2070','7:30 PM','4423202','Nella-10-11-2070'],['The Weight Band','The Cedar Cultural Center','Minneapolis, MN','Tuesday','11/4/2070','7:30 PM','4423083','The-Weight-Band-11-4-2070'],['Peter Mulvey','The Cedar Cultural Center','Minneapolis, MN','Monday','3/9/2071','7:30 PM','4371930','Peter-Mulvey-3-9-2071'],['Zoe Keating','The Cedar Cultural Center','Minneapolis, MN','Monday','5/18/2071','7:30 PM','4464693','Zoe-Keating-5-18-2071']],'The Cedar Cultural Center','http://www.ticketnetwork.com/ticket/The-Cedar-Cultural-Center-events.aspx');